package org.oos.atom.elements;

import java.io.Serializable;

import com.google.api.client.util.Key;

public class Rating implements Cloneable, Serializable {

	private static final long serialVersionUID = 1L;

	@Key("@value")
	private Integer value;

	@Key("text()")
	private String text;

	public Integer getValue() {
		return value;
	}
	
	public void setValue(Integer value) {
		this.value = value;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Override
	public Rating clone() throws CloneNotSupportedException {
		return (Rating) super.clone();
	}

}
